package com.geen.tuoke.bean

import java.io.Serializable

/**
 *
 * @Description: 拨号任务
 * @Author: geen
 * @CreateDate: 2022/1/3 15:56
 * @Version: 1.0
 */
class PhoneTaskInfo(
    var taskId: String = "",
    var taskName: String,
    var taskTime: String = "2022/01/01 12:12:35",
    var taskSuccessRate: String = "40",
    var taskCallCount: String = "5/10"
) : Serializable


class TaskDetailInfo(
    var id: Int = 0,
    var name: String = "",
    var mobile: String = "", //电话号码
    var tag: Int = 0,  //-1未拨打 0未接通 1接通 2空号
    var intention: Int = 0,  //1 表示有意向 0 表示无意向
    var duration: Int = 0,  //通话时长
    var period: Int = 0,  //  时间周期
    var callTimes: Int = 0,  //呼出次数
    var createTime: Long = 0,  //创建时间

    var company: String = "",  //公司名
    var labels: List<Label>? = emptyList(),
    var remark: String = "", //备注
    //是否是客户 0 非 1 是
    val isClient:Int,
    // 客户ID
    val clientId:String
) : Serializable {

    fun getCallTimeText(): String {
        return  "${period}天拨打:${callTimes}次"
    }


}


